#include<iostream>
#include<cmath>
using namespace std;
class Tria
{
private:
	int max;
	int side1;
	int side2;
public:
	Tria(int a,int b,int c)
	{
		int current_max; int temp;
		if (a > b)
		{
			current_max = a;
			temp = b;
		}
		else
		{
			current_max = b;
			temp = a;
		}
		if (c > current_max)
		{
			current_max = c;
			side1 = a;
			side2 = b;
		}
		else
		{
			side1 = c;
			side2 = temp;
		}
		max = current_max;
	}
	bool isTriangle()const
	{
		if (side1 + side2 > max && max + side1 > side2 && max + side2 > side1)
			return true;
		else return false;
	}
	bool isRightTriangle()const
	{
		if (side1*side1 + side2*side2 == max*max)
			return true;
		else return false;
	}
	bool isAcuteTriangle()const
	{
		if (side1*side1 + side2*side2 > max*max)
			return true;
		else return false;
	}
	bool isObtuseTriangle()const
	{
		if (!isRightTriangle() && !isAcuteTriangle() && isTriangle())
			return true;
		else return false;
	}
	bool isIsoscelesTriangl()
	{
		if ((max == side1 || max == side2 || side1 == side2) && isTriangle())
			return true;
		else return false;
	}
	bool isEquilateralTriangle()
	{
		if ((max == side1 && max == side2 &&side1 ==side2) && isTriangle()) return true;
		else return false;
	}
};
int main()
{
	int a, b, c;
	cin >> a >> b >> c;
	Tria t = Tria(a, b, c);
	if (!t.isTriangle()) cout<<"Not triangle" << endl;
	if (t.isRightTriangle()) cout<<"Right triangle" << endl;
	if (t.isAcuteTriangle()) cout<<"Acute triangle" << endl;
	if (t.isObtuseTriangle()) cout<<"Obtuse triangle" << endl;
	if (t.isIsoscelesTriangl()) cout<<"Isosceles triangle" << endl;
	if (t.isEquilateralTriangle()) cout<<"Equilateral triangle" << endl;
	return 0;
}